package com.weixing.mall.provider.model.dto.sys;

import com.weixing.mall.base.enums.IsEnableEnum;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 启用/禁用
 *
 * @author siashan
 * @since  v1
 */
@Data
@ApiModel(value = "用户")
@AllArgsConstructor
public class SysUserChgEnableDto {
    /**
     * 用户id
     */
    @NotNull(message = "用户id不能为空")
    private Long userId;
    /**
     * 启用/禁用
     */
    @NotNull(message = "请输入正确的状态")
    private IsEnableEnum enable;
}
